package com.edu.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import reactor.util.annotation.NonNull;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 项目简历投递
 * </p>
 *
 * @author jixuewei
 * @since 2023-01-12
 */
@TableName("pro_resume")
@ApiModel(value = "ProResume对象", description = "项目简历投递")
public class ProResume implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull

    private Integer projectId;

    private Integer stuId;

    @ApiModelProperty("简历地址")
    private String resume;

    @ApiModelProperty("学生备注")
    private String remark;

    @ApiModelProperty("投递时间")
    private Date deliveryTime;

    @ApiModelProperty("状态，0未查看，1已查看，-1弃用，3录用，4感兴趣")
    private Integer status;

    @ApiModelProperty("电话号码")
    private String phone;


    @TableField(exist = false)
    private Student student;

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getResume() {
        return resume;
    }

    public void setResume(String resume) {
        this.resume = resume;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "ProResume{" +
            "projectId = " + projectId +
            ", stuId = " + stuId +
            ", resume = " + resume +
            ", remark = " + remark +
            ", deliveryTime = " + deliveryTime +
            ", status = " + status +
            ", phone = " + phone +
        "}";
    }
}
